<html lang="zh-Hans">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>打开【手机】扫一扫，扫描下方的二维码加入！</title>
    <link rel="stylesheet" type="text/css" href="./css/qrcode.css">

    <script type="text/javascript" src="./js/jquery-2.1.2.min.js"></script>
    <script type="text/javascript" src="//static.runoob.com/assets/qrcode/qrcode.min.js"></script>
</head>
<body>

<div class="qra_main">
    <div class="qra_top">
        打开【手机】扫一扫，扫描下方的二维码加入！
    </div>
    <div class="qra_img">
        <div class="qra_qrcode">
<!--            <img class="qra_qrcode_img" src="">-->
            <div id="qrcode" style="width:100%; height:100%; margin-top:15px;"></div>
        </div>
        <div class="qra_bg"></div>
    </div>
</div>


<div class="xl-chrome-ext-bar" id="xl_chrome_ext_{4DB361DE-01F7-4376-B494-639E489D19ED}" style="display: none;">
    <div class="xl-chrome-ext-bar__logo"></div>

    <a id="xl_chrome_ext_download" href="javascript:;" class="xl-chrome-ext-bar__option">下载视频</a>
    <a id="xl_chrome_ext_close" href="javascript:;" class="xl-chrome-ext-bar__close"></a>
</div>

<script type="text/javascript">
    function getUrlParam(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
        var r = window.location.search.substr(1).match(reg);  //匹配目标参数
        if (r != null) return unescape(r[2]);
        return null; //返回参数值
    }

    var linkUrl = getUrlParam('_cc');
    var qrcode = new QRCode(document.getElementById("qrcode"), {
    });
    qrcode.makeCode(linkUrl);

</script>
</body>
</html>